<?
// mcGallery - Marc Cagninacci - marc@phpforums.net - http://www.phpforums.net

include './conf.inc.php';
if ( $log == $admin_login && $password == $admin_pass )
{

session_start();
session_register("log");
session_register("password");
 header ('Location:admin.php');
}
else{
header ('Location:sess.php');
}
?>
